// 封装本地存储 存储数据与获取方法

// 设置token
export const SET_TOEKN = (token:string)=>{
    localStorage.setItem('TOKEN',token)
}

// 获取touken
export const GET_TOEKN = ():string=>{
    return localStorage.getItem('TOKEN') as string
}

//本地存储删除数据方法
export const REMOVE_TOKEN = () => {
  localStorage.removeItem('TOKEN')
}